﻿using System.Collections.ObjectModel;

namespace EveKillboard.Core.Interfaces
{
    using System.Linq;
    using System;
    using System.Data.Entity;

    public interface IKillboardDataContext : IDisposable
    {
        IDbSet<Killmail> Killmails { get; set; }
        IQueryable<Entity> Entities { get; set; }
        IQueryable<Item> Items { get; set; }
        IQueryable<Faction> Factions { get; set; }
        IQueryable<Alliance> Alliances { get; set; }
        IQueryable<Corporation> Corporations { get; set; }
        IQueryable<Location> Locations { get; set; }
        int SaveChanges();
        void Add(Killmail killmail);
        void Delete(Guid killmailId);
    }
}